﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FieldSetting.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.FieldSetting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>
        <%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return CheckForm(this);">
    <table id="page_navigator">
        <tr>
            <td class="align_l">
                当前位置：系统管理 -> 附件设置
            </td>
        </tr>
    </table>
    <table class="table_form">
        <tbody>
            <tr class="tr_item hide">
                <th >
                    永久删除结点时，删除发布页面
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtdefaultdelpage" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0">否</asp:ListItem>
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    永久删除结点或信息时，删除上传图片
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtdefaultdelimg" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">是</asp:ListItem>
                        <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    永久删除结点或信息时，删除上传附件
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtdefaultdelattr" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">是</asp:ListItem>
                        <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    附件上传_大小限制(K)[最大为10240]
                </th>
                <td>
                    <cms:TextBox ControlValueType="String" required="1" runat="server" ID="txtUpAttachSize"
                        Text="2048"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    图片上传_大小限制(K)[最大为10240]
                </th>
                <td>
                    <cms:TextBox ControlValueType="String" required="1" runat="server" ID="txtUpImageSize"
                        Text="2048"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    图片上传_最大长度(px)[超过则等比缩放]
                </th>
                <td>
                    <cms:TextBox ControlValueType="String" required="1" runat="server" ID="txtUpImageMaxWidth"
                        Text="600"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    图片上传_类型限制
                </th>
                <td>
                    <cms:TextBox ControlValueType="String" required="1" runat="server" ID="txtUpImageType"
                        Text="jpg|jpeg|png|gif"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    附件上传_类型限制
                </th>
                <td>
                    <cms:TextBox ControlValueType="String" required="1" runat="server" ID="txtUpAttachType"
                        Text="zip|rar|doc|xls"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    图片压缩_是否留白(反之则剪切图片)
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtblnPreserverAspectRatio" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="true">是</asp:ListItem>
                        <asp:ListItem Value="false">否</asp:ListItem>
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    图片上传_压缩列表
                </th>
                <td>
                    <cms:TextBox ControlValueType="String" required="1" runat="server" ID="txtImgReSave"
                        Text="100*70,140*105,90*65"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                </th>
                <td>
                    <cms:Button CssClass="button_style" ID="btnSubmit" Text="确定" runat="server" OnClick="btnSubmit_Click" />
                    <input class="button_style" name="reset" onclick="$('#Form').resetForm();" value="清除"
                        type="reset">
                    <input class="button_style" name="reset" onclick="window.location.href='<%=m_strRefer%>'"
                        value="返回" type="reset">
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
